package com.mongo.data.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BaseNode {

    @Schema(description = "名称")
    private String name;

    @Schema(description = "中文名称")
    private String chnName;

    @Schema(description = "开始时间")
    private Long beginTime;

    @Schema(description = "结束时间")
    private Long endTime;

    @Schema(description = "时长")
    private Long duration;

    @Schema(description = "pod关联")
    private PodInfo podInfo;

    @Schema(description = "jobId")
    private String jobId;

    @Schema(description = "打点日志")
    private List<DotLog> dotLogs;

    @Schema(description = "进度")
    private int progress;

    @Schema(description = "状态")
    private String status;

}
